
// Moon.cpp: implementation of the Moon class.
//
//////////////////////////////////////////////////////////////////////

#include "Moon.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Moon::Moon(ssgaSky *sky)
{
this->bodyNameList[0] = "Moon";
this->bodyNameList[1] = NULL;

/* moon */
this->moon =  sky -> addBody (
                  "./SkyObjects/Moon/data/moon.rgba",	        // body texture
				  NULL,							// halo texture
				  MOON_SIZE,				    // size
				  MOON_DISTANCE);				// distance
            
this->moon -> setDeclination  ( MOON_DECLINATION*SGD_DEGREES_TO_RADIANS );
}

Moon::~Moon()
{

}